package com.liu.student.service;

import com.liu.student.entity.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> findAll();
    Teacher findById(Long id);
    Teacher findByUsername(String username);
    void save(Teacher teacher);
    void update(Teacher teacher);
    void deleteById(Long id);
    long count();
}